package com.itheima.service;

import com.itheima.entity.Employee;

import java.util.List;

public interface EmployeeService {

    List<Employee> findAll();

    List<Employee> findByCondition(Integer empId, String name, String sex, Integer deptId);

    void saveEmp(Employee employee);

    void deleteEmp(Integer empId);

    void updateEmp(Employee employee);

    Employee findById(Integer empId);
}
